//
//  ChapterInfo.h
//  SpaceStorm
//
//  Created by 祥 雍 on 13-5-26.
//  Copyright (c) 2013年 __MyCompanyName__. All rights reserved.
//

#import "cocos2d.h"
#import "TBXML.h"

@interface ChapterInfo : NSObject
{
    int _gridId;
    int _chapter;
    int _serialNumber;
    BOOL _isFirst;
    BOOL _isBoss;
    int _branch1;
    int _branch2;
    int _branch3;
    int _branch4;
    int _explorationNumber;
}

@property (readwrite) int gridId;//格子id
@property (readwrite) int chapter;//章节	
@property (readwrite) int serialNumber;//编号	
@property (readwrite) BOOL isFirst;//是否首格？	
@property (readwrite) BOOL isBoss;//BOSS战？	
@property (readwrite) int branch1;//分支1	
@property (readwrite) int branch2;//分支2	
@property (readwrite) int branch3;//分支3	
@property (readwrite) int branch4;//分支4	
@property (readwrite) int explorationNumber;//探索次数

+(id) infoWithTbxml:(TBXMLElement *)tbxml;
-(id) initWithTbxml:(TBXMLElement *)tbxml;

@end
